let baseUrl;
if (process.env.NODE_ENV == 'development') {
    baseUrl = "//jdc.ttjiandan.com/bck";
    baseUrl = 'http://192.168.1.113:8077'
} else {
    baseUrl = '//jdc.ttjiandan.com/bck'
}

export default {
    baseUrl,
    base: {
        uploadFile: "/file/uploadFile",
        baiduDiyIocr: "/bookBill/baiduDiyIocr", //表单百度识别
        getKtIocrResult: "/bookBill/getKtIocrResult", //识别001
    },
    user: {
        userLogin: "/login/userLogin",
        getLoginId: "/login/getLoginId",
        getLoginCode: "/login/getLoginCode",

        refreshLoginInfo: "/sysUser/refreshLoginInfo",
    },
    system: {
        getAllMers: "/mer/getAllMers", //全部商户
        getChannelMers: "/mer/getChannelMers", //渠道商户
        getMerBalance: "/mer/getMerBalance", //渠道佣金
        getBalanceChangeHis: "/mer/getBalanceChangeHis", //佣金记录
        createChannelMer: "/sysUser/createChannelMer", //创建渠道商户
        createNormalMer: "/sysUser/createNormalMer", //创建普通商户

        getSysPers: "/sysUser/getSysPers", //获取平台权限
        editSysPer: "/sysUser/editSysPer", //平台权限设置

        getSysRoles: "/sysUser/getSysRoles", //获取角色列表
        editSysRole: "/sysUser/editSysRole", //编辑角色
        getUserSysPers: "/sysUser/getUserSysPers", //获取角色权限
        editRolePer: "/sysUser/editRolePer", //设置角s色权限
        syncSysRolePer: "/sysUser/syncSysRolePer", //同步角色权限

        getSysUsers: "/sysUser/getSysUsers", //获取账号列表
        editSysUser: "/sysUser/editSysUser", //编辑账号
        editSysUserRole: "/sysUser/editSysUserRole", //设置账户角色

        getMerAccounts: "/acc/getMerAccounts", //账号列表
        createAccountByNo: "/acc/createAccountByNo", //账号绑定
        createTransBatch: "/cbko/createTransBatch", //创建批次任务
        getAccountBalance: "/cbko/getAccountBalance", //账号余额

        getTransOrders: "/cbko/getTransOrders", //订单记录
        getBatchTransHis: "/cbko/getBatchTransHis", //任务记录
        checkTransBatch: "/cbko/checkTransBatch", //任务审核
    },
};
